package com.bdzl.credit.service.impl;

import com.bdzl.credit.dao.UserBlackDao;
import com.bdzl.credit.service.UserBlackService;
import com.bdzl.pub.entity.loan.UserBlackDO;
import com.bdzl.pub.vo.loan.UserBlackVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class UserBlackServiceImpl implements UserBlackService {
	@Autowired
	private UserBlackDao userBlackDao;

	@Override
	public UserBlackDO get(Integer blackId){
		return userBlackDao.get(blackId);
	}

	@Override
	public UserBlackDO getByBlackCardid(String blackId){
		return userBlackDao.getByBlackCardid(blackId);
	}

	@Override
	public List<UserBlackDO> list(Map<String, Object> map){
		return userBlackDao.list(map);
	}

	@Override
	public List<UserBlackVO> UserBlackVOList(Map<String, Object> map) {
		return userBlackDao.UserBlackVOList(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return userBlackDao.count(map);
	}

	@Override
	public int save(UserBlackDO userBlack){
		return userBlackDao.save(userBlack);
	}

	@Override
	public int update(UserBlackDO userBlack){
		return userBlackDao.update(userBlack);
	}

	@Override
	public int remove(Integer blackId){
		return userBlackDao.remove(blackId);
	}

	@Override
	public int batchRemove(Integer[] blackIds){
		return userBlackDao.batchRemove(blackIds);
	}

}
